/*******************************************************************************
 * Copyright (c) 2008 Nels E. Beckman.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Nels E. Beckman - initial API and implementation
 *******************************************************************************/
package edu.cmu.cs.nbeckman.wptranslator;

/**
 * An element is anything that appears within a document. Text, formatting, etc.
 * Since we are trying to represent document content as a tree, the Element is the
 * supertype of all pieces of that tree.
 * 
 * @author Nels E. Beckman
 *
 */
public interface Element {

	/**
	 * @return A String representation of this element, in HTML format.
	 */
	public String drawAsHTML();
	
	/**
	 * @return A String holding the RTF encoding of this element.
	 */
	public String drawAsRTF();
}
